<template>
  <!-- 左右环绕 card -->
  <div class="farmland">
    <!-- v-for="(item, index) in dataset" :key="index" -->
    <div class="farmland-item" :style="{ height: height + 'px' }">
      <div class="item-name colorWhite">已发放总金额/总进度</div>
      <div class="item-value colorYellow">
        {{ dataset.amount }} <span>亿元</span> / {{ dataset.rate }} <span>%</span>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },

  props: {
    dataset: {
      type: Object,
      default: () => {
        return {};
      },
    },
    height: {
      type: String,
      default: "35",
    },
  },
};
</script>

<style lang="less" scoped>
.farmland {
  margin-left: -5px;
  .farmland-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 17px;
    margin: 0px 30px;
    width: 412px;
    background: url(~@/assets/imgs/item-bg.webp) no-repeat;
  }
}
</style>
